import request from '@/utils/request'

export function accountListApi(query) {
  return request({
    url: '/business/redpacket/account/list',
    method: 'get',
    params: query
  })
}


export function addAccountApi(query) {
  return request({
    url: '/business/redpacket/account/add',
    method: 'get',
    params: query
  })
}

export function deleteAccountApi(query) {
  return request({
    url: '/business/redpacket/account/delete',
    method: 'get',
    params: query
  })
}

export function addAmountApi(query) {
  return request({
    url: '/business/redpacket/account/addAmount',
    method: 'get',
    params: query
  })
}

export function subAmountApi(query) {
  return request({
    url: '/business/redpacket/account/subAmount',
    method: 'get',
    params: query
  })
}
